package com.df.excel_export.excel_table;

import com.df.excel_export.validator.IFieldValidator;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class HHeader {
    //所在列
    private Integer col;
    //英文名
    private String enName;
    //中文名，横表才有
    private String chName;
    //数据类型
    private String type;
    //中文名字单元格里的批注，一般横表才有
    private String commont;
    private String groupStr;
    private List<String> groups = new ArrayList<String>();
    private List<Object> values = new ArrayList<>();
    //数据校验字符串
    private String validatorsStr;
    private List<String> validators = new ArrayList<>();
    private List<IFieldValidator> validatorList = new ArrayList<>();

    //值,竖表才有这个
    private String vValue;
    //描述信息，竖表才有这个
    private String vDesc;
}
